package java8;

import javax.swing.*;

public class LamdbaFinalTest1 {

    public static void main(String[] args) {
        StringBuilder s = new StringBuilder("ss");
        s = new StringBuilder(456);
        JButton jButton = new JButton();
        // jButton.addActionListener(e -> s.append(1)); 报错,s必须是final或者等价于final
    }
}
